<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset= utf-8" />
<script type="text/javascript" src="__PUBLIC__/js/jquery-1.6.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/easyvalidator/js/easy_validator.pack.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/easyvalidator/js/jquery.bgiframe.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/ui.tab.js"></script>
<link href="__PUBLIC__/css/welcome.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/js/easyvalidator/css/validate.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
var count = 1;
$(document).ready(function(){
	$("#submit_1").click(function(){
		$("#form_x").submit();
	});
	$("#reset_1").click(function(){
		document.getElementById("form_x").reset();
	});
	$('#add_accessory').click(function(){
		if(count<=4){
			$('#acce'+count).attr('style','');
			count++;
		}else{
			alert('最多上传5个附件');
			return false;
		}
		
	});
	
});

</script>
<style type="text/css">
.label{color:#333;font-size:12px;float:left;width:60px;background: ;padding:7px 0 0 0;}
 INPUT { background-color:transparent;BORDER-RIGHT:none; BORDER-TOP: none; PADDING-LEFT: 2px; FONT-SIZE: 12px; BORDER-LEFT: none; LINE-HEIGHT: 20px; BORDER-BOTTOM: #666 1px solid; FONT-FAMILY: "宋体"; HEIGHT: 18px; width:160px;}
ul{list-style-type:none; width:1000px; height:500px;}
ul li {width:245px; height:25px;margin:3px 2px;float:left;}
#li_last{width:490px; height:160px;margin:3px 2px;float:left;}
#li_second{width:490px; height:160px; margin:3px 2px;float:left;}
#li_last textarea{HEIGHT: 130px; width:400px; }
#li_second textarea{HEIGHT: 130px; width:400px;}
#submit_div{ height:60px; float:left; position:relative; bottom:190px; left:400px;}
#reset_div{ height:60px; float:left; position:relative; bottom:190px; left:450px;}
#submit_1{ cursor:pointer; cursor:hand;width:46px; text-align:center;height:43px; border:none; background:url(__PUBLIC__/images/submit000.png); }
#reset_1{ cursor:pointer; cursor:hand;width:46px; text-align:center;height:43px; border:none; background:url(__PUBLIC__/images/reset000.png); }
</style>
<title>信息管理</title>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="__PUBLIC__/images/welcome/mail_leftbg.gif"><img src="__PUBLIC__/images/welcome/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="__PUBLIC__/images/welcome/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
        <tr>
          <td height="31"><div class="titlebt">信息管理</div></td>
        </tr>
      </table></td>
    <td width="16" valign="top" background="__PUBLIC__/images/welcome/mail_rightbg.gif"><img src="__PUBLIC__/images/welcome/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
 <tr>
    <td valign="middle" background="__PUBLIC__/images/welcome/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9"> <div id="welcomeContent">
      <div class="leftCol">
      	<form action="__URL__/updateStaff" id="form_x" name="form_x" method="post"  >
         <ul>
         	<li><div class="label">姓名:</div><input type="text" name="username" reg="^[\u4e00-\u9fa5]+$" tip="仅限中文填写" value="{$result['name']}" /></li>
            <li><div class="label">性别:</div><input type="text" name="sex" value="{$result['sex']}" /></li>
            <li><div class="label">婚否:</div><input type="text" name="isMarry" value="{$result['isMarry']}" /></li>
			<li><div class="label">出生日期:</div><input type="text" name="birthday" reg="^((((1[6-9]|[2-9]\d)\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\d|3[01]))|(((1[6-9]|[2-9]\d)\d{2})-(0?[13456789]|1[012])-(0?[1-9]|[12]\d|30))|(((1[6-9]|[2-9]\d)\d{2})-0?2-(0?[1-9]|1\d|2[0-8]))|(((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))-0?2-29-))$" tip="日期必填且格式为:2011-02-06" value="{$result['birthday']}" /></li>
            <li><div class="label">部门职务:</div>
            	<select name="department" id="posDep">
      				<option value="">请选择</option>
                    <?php if(is_array($cat)) foreach( $cat as $vo ){ ?>
      				<option value="{$vo['id']}" <?php if($result['department']==$vo['id']) echo "selected='selected';"?> >{$vo['cname']}</option>
                    <?php } ?>
    			</select>
            </li>
            <li><div class="label">学历:</div><input type="text" name="xueli" value="{$result['xueli']}" /></li>            
            <li><div class="label">身份证号:</div><input type="text" name="shenfenzhengNum" reg="^\d+$" tip="只允许数字" value="{$result['shenfenzhengNum']}" /></li>
            <li><div class="label">户籍:</div><input type="text" name="hukoulocation" value="{$result['hukoulocation']}" /></li>           
            <li><div class="label">现居住地:</div><input type="text" name="addr" value="{$result['addr']}" /></li>
            <li><div class="label">入职日期:</div><input type="text" name="ruzhitime" reg="^((((1[6-9]|[2-9]\d)\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\d|3[01]))|(((1[6-9]|[2-9]\d)\d{2})-(0?[13456789]|1[012])-(0?[1-9]|[12]\d|30))|(((1[6-9]|[2-9]\d)\d{2})-0?2-(0?[1-9]|1\d|2[0-8]))|(((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))-0?2-29-))$" tip="日期必填且格式为:2011-2-6" value="{$result['ruzhitime']}" /></li>
            <li><div class="label">离职日期:</div><input type="text" name="lizhitime" value="{$result['lizhitime']}" /></li>
            <li><div class="label">工资:</div><input type="text" name="salary" value="{$result['salary']}" /></li>
            <li><div class="label">联系电话:</div><input type="text" name="tel1" value="{$result['tel1']}" /></li>
            <li><div class="label">联系电话2:</div><input type="text" name="tel2" value="{$result['tel2']}" /></li>
            <li><div class="label">手机:</div><input type="text" name="mobile" reg="^\d+$" tip="只允许数字" value="{$result['mobile']}" /></li>
            <li><div class="label">QQ:</div><input type="text" name="qq" value="{$result['qq']}" /></li>
            <li><div class="label">MSN:</div><input type="text" name="msn" value="{$result['msn']}" /></li>
            <li style="width:500px;"><div class="label">E_mail:</div><input type="text" name="email" value="{$result['email']}" /></li>
            <li id="li_last"><div class="label">简历:</div><textarea id="jianli" name="jianli">{$result['jianli']}</textarea></li>
            <li id="li_second"><div class="label">家庭成员:</div><textarea id="family" name="family">{$result['family']}</textarea></li>    		<input type="hidden" name="uid" value="{$result['uid']}" />
         </ul>
         	
         	<div id="submit_div"><input type="button" title="提交" id="submit_1" /></div>
            <div id="reset_div"><input type="button" title="重置" id="reset_1" /></div>
         </form>
         
        

    </div></td>
    <td background="__PUBLIC__/images/welcome/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="__PUBLIC__/images/welcome/mail_leftbg.gif"><img src="__PUBLIC__/images/welcome/buttom_left2.gif" width="17" height="17" /></td>
    <td background="__PUBLIC__/images/welcome/buttom_bgs.gif"><img src="__PUBLIC__/images/welcome/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="__PUBLIC__/images/welcome/mail_rightbg.gif"><img src="__PUBLIC__/images/welcome/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>
</html>
